package y24.m4;

import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Test15 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int lightX = in.nextInt(); // the X position of the light of power
        int lightY = in.nextInt(); // the Y position of the light of power
        int initialTx = in.nextInt(); // Thor's starting X position
        int initialTy = in.nextInt(); // Thor's starting Y position

        // game loop
        while (true) {
            int remainingTurns = in.nextInt(); // The remaining amount of turns Thor can move. Do not remove this line.
            if (lightX == initialTx){
                if (lightY > initialTy){
                    System.out.println("S");
                } else if (lightY < initialTy) {
                    System.out.println("N");
                }
            } else if (lightY == initialTy) {
                if (lightX < initialTx) {
                    System.out.println("W");
                } else if (lightX > initialTx) {
                    System.out.println("E");
                }
            } else if (lightX > initialTx && lightY > initialTy) {
                System.out.println("SE");
            } else if (lightX > initialTx && lightY < initialTy) {
                System.out.println("NE");
            } else if (lightX < initialTx && lightY > initialTy) {
                System.out.println("SW");
            } else if (lightX < initialTx && lightY < initialTy) {
                System.out.println("NW");
            }
        }
    }
}
